package security.Authentication.Base;

import security.Authorization.Base.AuthorizationLevel;

/**
 * Data of a identified user
 * @author Andreas Carmvall
 */
public class IdentifiedUser implements User {

	/**
	 * The level that this user can access
	 */
	AuthorizationLevel level;
	
	/**
	 * Class constructor
	 * @param level the level that this user can access
	 */
	public IdentifiedUser(AuthorizationLevel level) {
		this.level = level;
	}
	
	/**
	 * Get the level that this user can access
	 * @return the level that the user can access
	 */
	public AuthorizationLevel getLevel() {
		return level;
	}
}
